package com.gl.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 游戏类型表
 * </p>
 *
 * @author 晚风
 * @since 2024-12-25
 */
@TableName("game_types")
@ApiModel(value = "GameTypes对象", description = "游戏类型表")
public class GameTypes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("游戏类型唯一标识，主键，自增")
    @TableId(value = "game_type_id", type = IdType.AUTO)
    private Integer gameTypeId;

    @ApiModelProperty("游戏类型名称，唯一")
    private String gameName;

    @ApiModelProperty("游戏难度级别，用于积分计算")
    private Integer difficultyLevel;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;


    public Integer getGameTypeId() {
        return gameTypeId;
    }

    public void setGameTypeId(Integer gameTypeId) {
        this.gameTypeId = gameTypeId;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public Integer getDifficultyLevel() {
        return difficultyLevel;
    }

    public void setDifficultyLevel(Integer difficultyLevel) {
        this.difficultyLevel = difficultyLevel;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "GameTypes{" +
        "gameTypeId=" + gameTypeId +
        ", gameName=" + gameName +
        ", difficultyLevel=" + difficultyLevel +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
